package com.boang.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

/**
 * @TableName topic
 */
@TableName(value = "topic")
@Data
public class Topic implements Serializable {
    @JsonIgnore
    @TableId(type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer sort;

    private String url;

    private String description;
    @JsonIgnore
    private Integer isDeleted;
    @JsonIgnore
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime gmtCreate;
    @JsonIgnore
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime gmtModified;

    private static final long serialVersionUID = 1L;
}